package jkernel;

import java.security.SecureRandom;
import java.util.Random;

public class Tools {
    public static void main(String[] args) {
        System.out.println(Math.abs(-100));
        System.out.println(Math.abs(-7.8));
        System.out.println(Math.max(100, 98));

        System.out.println(Math.min(1.2, 2.3));
        System.out.println(Math.sqrt(2));
        System.out.println(Math.exp(2));
        System.out.println(Math.random());
        System.out.println(Math.E);
        Random r = new Random();
        System.out.println(r.nextInt());
        System.out.println(r.nextFloat());
        System.out.println(r.nextLong());

        SecureRandom sr = new SecureRandom();
        System.out.println(sr.nextFloat());
        System.out.println(sr.nextLong());
    }
}
